package com.gdkf.dormitory.service.impl;

import com.gdkf.dormitory.entity.Student;
import com.gdkf.dormitory.mapper.StudentMapper;
import com.gdkf.dormitory.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gdkf.dormitory.tools.ObjectQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lcy
 * @since 2022-09-09
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public List<ObjectQuery> selectByGroup(Map<String,Object> map) {
        return studentMapper.queryByGroup(map);
    }
}
